#include <stdio.h>


int addNum(int top){
    int ret = 0;
    int i = 1;

    for(; i<=top ; i++){

        ret += i;
    }
    return ret;
}
int main(){
    printf("Debug begin\n");

    int top = 100;
    int ret = addNum(top);
    printf("sum = %d\n",ret);

    printf("Debug end\n");
    return 0;
}
